<%-- 
    Document   : mushroomForm
    Created on : 19.11.2013, 15:16:40
    Author     : Pavol Donko
--%>

<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" language="java" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>

<s:errors/>
<s:messages/>
<table>    
    <tr>            
        <th><s:label for="b1" name="mushroomDto.name"/></th>
        <td><s:text id="b1" name="mushroomDto.name"/></td>
    </tr>
    <tr>
        <th><s:label for="b2" name="mushroomDto.growsFrom"/></th>
        <td>
            <s:select id="b2" name="growsFrom">            
                <s:options-enumeration enum="cz.muni.fi.pa165.mushroom.website.utils.Months"/>
            </s:select>
        </td>
    </tr>
    <tr>
        <th><s:label for="b3" name="mushroomDto.growsUntil"/></th>             
        <td>
            <s:select id="b3" name="growsUntil">            
                <s:options-enumeration enum="cz.muni.fi.pa165.mushroom.website.utils.Months"/>
            </s:select>
        </td>
    </tr>
    <tr>
        <th><s:label for="b4" name="mushroomDto.type"/></th>
        <td><s:select id="b4" name="mushroomDto.type">       
                <s:options-enumeration enum="cz.muni.fi.pa165.mushroom.website.dto.MushroomTypeDTO" />                                      
            </s:select>
        </td>
    </tr>
</table>